package com.sen.patterns.structural.decorator.ex3;

import junit.framework.TestCase;

public class Test extends TestCase {
	
	public void testMyWindow() {
		MyWindow window = new MyWindow();
		TextView tv = new TextView();
		window.setComponent(new BorderDecorator(new ScrollDecorator(tv, 200), 2));
		window.show();
	}
	
}
